package com.hst.web.base.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.hst.core.annotation.Comment;
import com.hst.core.annotation.HSID;
import com.hst.core.dao.BaseEntity;

@Entity
@Table(name = "t_card_relation")
@Comment("卡关联信息表")
public class TCardRelation extends BaseEntity {

	@Id
	@Column(name = "issue_no", length = 20)
	@Comment("卡发行号")
	private Integer issueNo;

	@Column(name = "use_type", length = 2, nullable = false)
	@Comment("使用类型,0人员，1车辆")
	private String useType;

	@Column(name = "employee_code", length = 16)
	@Comment("员工编号")
	private String employeeCode;

	@Column(name = "vehicle_code", length = 16)
	@Comment("车辆编号")
	private String vehicleCode;

	public Integer getIssueNo() {
		return issueNo;
	}

	public void setIssueNo(Integer issueNo) {
		this.issueNo = issueNo;
	}

	public String getUseType() {
		return useType;
	}

	public void setUseType(String useType) {
		this.useType = useType;
	}

	public String getEmployeeCode() {
		return employeeCode;
	}

	public void setEmployeeCode(String employeeCode) {
		this.employeeCode = employeeCode;
	}

	public String getVehicleCode() {
		return vehicleCode;
	}

	public void setVehicleCode(String vehicleCode) {
		this.vehicleCode = vehicleCode;
	}

}
